//this holds all js that are required for non-loggedin and loggedin users except core